package com.ilvyou.data.lcs;

import java.sql.Timestamp;

/**
 * Created by Administrator on 2017/2/13.
 */
public class CollectBlacklist1Entity {
    private Long actid;
    private String actname;
    private String realname;
    private String legalname;
    private String legalcertid;
    private Integer blackflag;
    private Integer canremove;
    private Integer status;
    private Timestamp createdon;
    private String createdname;
    private Long createdby;
    private String createdip;
    private String lastedname;
    private Timestamp lastedon;
    private Long lastedby;
    private String lastedip;

    public Long getActid() {
        return actid;
    }

    public void setActid(Long actid) {
        this.actid = actid;
    }

    public String getActname() {
        return actname;
    }

    public void setActname(String actname) {
        this.actname = actname;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getLegalname() {
        return legalname;
    }

    public void setLegalname(String legalname) {
        this.legalname = legalname;
    }

    public String getLegalcertid() {
        return legalcertid;
    }

    public void setLegalcertid(String legalcertid) {
        this.legalcertid = legalcertid;
    }

    public Integer getBlackflag() {
        return blackflag;
    }

    public void setBlackflag(Integer blackflag) {
        this.blackflag = blackflag;
    }

    public Integer getCanremove() {
        return canremove;
    }

    public void setCanremove(Integer canremove) {
        this.canremove = canremove;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Timestamp getCreatedon() {
        return createdon;
    }

    public void setCreatedon(Timestamp createdon) {
        this.createdon = createdon;
    }

    public String getCreatedname() {
        return createdname;
    }

    public void setCreatedname(String createdname) {
        this.createdname = createdname;
    }

    public Long getCreatedby() {
        return createdby;
    }

    public void setCreatedby(Long createdby) {
        this.createdby = createdby;
    }

    public String getCreatedip() {
        return createdip;
    }

    public void setCreatedip(String createdip) {
        this.createdip = createdip;
    }

    public String getLastedname() {
        return lastedname;
    }

    public void setLastedname(String lastedname) {
        this.lastedname = lastedname;
    }

    public Timestamp getLastedon() {
        return lastedon;
    }

    public void setLastedon(Timestamp lastedon) {
        this.lastedon = lastedon;
    }

    public Long getLastedby() {
        return lastedby;
    }

    public void setLastedby(Long lastedby) {
        this.lastedby = lastedby;
    }

    public String getLastedip() {
        return lastedip;
    }

    public void setLastedip(String lastedip) {
        this.lastedip = lastedip;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CollectBlacklist1Entity that = (CollectBlacklist1Entity) o;

        if (actid != null ? !actid.equals(that.actid) : that.actid != null) return false;
        if (actname != null ? !actname.equals(that.actname) : that.actname != null) return false;
        if (realname != null ? !realname.equals(that.realname) : that.realname != null) return false;
        if (legalname != null ? !legalname.equals(that.legalname) : that.legalname != null) return false;
        if (legalcertid != null ? !legalcertid.equals(that.legalcertid) : that.legalcertid != null) return false;
        if (blackflag != null ? !blackflag.equals(that.blackflag) : that.blackflag != null) return false;
        if (canremove != null ? !canremove.equals(that.canremove) : that.canremove != null) return false;
        if (status != null ? !status.equals(that.status) : that.status != null) return false;
        if (createdon != null ? !createdon.equals(that.createdon) : that.createdon != null) return false;
        if (createdname != null ? !createdname.equals(that.createdname) : that.createdname != null) return false;
        if (createdby != null ? !createdby.equals(that.createdby) : that.createdby != null) return false;
        if (createdip != null ? !createdip.equals(that.createdip) : that.createdip != null) return false;
        if (lastedname != null ? !lastedname.equals(that.lastedname) : that.lastedname != null) return false;
        if (lastedon != null ? !lastedon.equals(that.lastedon) : that.lastedon != null) return false;
        if (lastedby != null ? !lastedby.equals(that.lastedby) : that.lastedby != null) return false;
        if (lastedip != null ? !lastedip.equals(that.lastedip) : that.lastedip != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = actid != null ? actid.hashCode() : 0;
        result = 31 * result + (actname != null ? actname.hashCode() : 0);
        result = 31 * result + (realname != null ? realname.hashCode() : 0);
        result = 31 * result + (legalname != null ? legalname.hashCode() : 0);
        result = 31 * result + (legalcertid != null ? legalcertid.hashCode() : 0);
        result = 31 * result + (blackflag != null ? blackflag.hashCode() : 0);
        result = 31 * result + (canremove != null ? canremove.hashCode() : 0);
        result = 31 * result + (status != null ? status.hashCode() : 0);
        result = 31 * result + (createdon != null ? createdon.hashCode() : 0);
        result = 31 * result + (createdname != null ? createdname.hashCode() : 0);
        result = 31 * result + (createdby != null ? createdby.hashCode() : 0);
        result = 31 * result + (createdip != null ? createdip.hashCode() : 0);
        result = 31 * result + (lastedname != null ? lastedname.hashCode() : 0);
        result = 31 * result + (lastedon != null ? lastedon.hashCode() : 0);
        result = 31 * result + (lastedby != null ? lastedby.hashCode() : 0);
        result = 31 * result + (lastedip != null ? lastedip.hashCode() : 0);
        return result;
    }
}
